import App from './App'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App,
		store
})
// uview-ui
import uView from "@/uni_modules/uview-ui";
Vue.use(uView);

// 注册全局组件
import HeaderSearch from '@/components/HeaderSearch.vue'
Vue.component("Header-Search",HeaderSearch)

import xrzpFootTabbar from '@/components/xrzp-FootTabbar.vue'
Vue.component("xrzp-FootTabbar",xrzpFootTabbar)

import xrzpIstop from '@/components/xrzp-Istop.vue'
Vue.component("xrzp-Istop",xrzpIstop)

import xrzpLoading from '@/components/xrzp-Loading.vue'
Vue.component("xrzp-Loading",xrzpLoading)

// vuex
import store from './store'
Vue.prototype.$store = store

app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif